package com.powernode.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @author RenBoQing
 * @date 2024年09月01日 21:19
 * @Description 微信小程序配置类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
@ConfigurationProperties(prefix = "wx")
@RefreshScope

public class WxParamConfig {
    //微信小程序 appid
    private String appid;
    //微信小程序密钥
    private String secret;
    //登录凭证接口
    private String url;
    // 登录密码
    private String pwd;
}
